<?php
/**
 * User: onwer
 * Date: 12-4-7
 * Time: 上午12:46
 */
?>
<?php
    $actarr=array('目录'=>'opendir','文件'=>'openfile');
?>
<h2 class="formdesc">
    当前目录：
    <?php
    foreach ($fileManage->curdir as $dir) {
        printf('<a href="editfile.php?act=%s&curdir=%s&name=%s">%s</a> ',
            $actarr['目录'],
            $dir['parent'],
            $dir['name'],
            $dir['name']);
    }

    ?>
</h2>
<form action="<?php echo Fun::curcul(); ?> " method="post" class="aform">
    <h4 class="formdesc">修改文件：<?php echo $name;?></h4>
    <?php echo $actinfo;?>
    <div  class="line">
        <textarea style="width: 100%;height: 320px;" name="filecont"><?php echo $filecont; ?></textarea>
    </div>

    <div  class="line subline"><input class="sub" type="submit" value="修改文件"></div>
</form>
